all:	ivictl ivid

ivictl:	ivictl.o
	$(CC) -o ivictl ivictl.o

ivictl.o:	ivictl.c
	$(CC) -c ivictl.c

ivid:	ivid.o
	$(CC) -o ivid ivid.o -L/usr/local/lib -lnl-3 -lnl-genl-3

ivid.o:	ivid.c
	$(CC) -c ivid.c -I/usr/local/include/libnl3/

clean:
	rm -rf ivictl ivid *.o
